package com.bigknow.appstore.web.base.controller.entity;


/**
 * UI树节点
 * <p>
 * Created by 李科风 on 2016-03-14.
 */
public class TreeNode {

    private String id;

    private String pId;

    private String name;

    private String dest;

    private String nodeType;

    private boolean open;

    public TreeNode(String id, String pId, String name, String dest, String nodeType) {
        this.id = id;
        this.pId = pId;
        this.name = name;
        this.dest = dest;
        this.nodeType = nodeType;
    }

    public TreeNode(String id, String pId, String name, String dest, String nodeType, boolean open) {
        this.id = id;
        this.pId = pId;
        this.name = name;
        this.dest = dest;
        this.nodeType = nodeType;
        this.open = open;
    }

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getpId() {
        return pId;
    }

    public void setpId(String pId) {
        this.pId = pId;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getDest() {
        return dest;
    }

    public void setDest(String dest) {
        this.dest = dest;
    }

    public String getNodeType() {
        return nodeType;
    }

    public void setNodeType(String nodeType) {
        this.nodeType = nodeType;
    }

    public boolean isOpen() {
        return open;
    }

    public void setOpen(boolean open) {
        this.open = open;
    }
}
